﻿using System.Collections.Generic;

namespace DHJ.Cost.CostBooking.Config
{
    public class 其他直接成本_Config : CostConfig
    {
        public override CostHandleType HandleType => CostHandleType.直接成本处理;
        public override int Index => 9;

        protected override Dictionary<string, string> BaseMap =>
            new Dictionary<string, string>
            {
                {"成本", "成本金额"},
                {"部门", "单位"},
                {"条码", "条码号/质控卡号"}
            };

        protected override Dictionary<string, string> ExtendMap =>
            new Dictionary<string, string>
            {
                {"任务编号", "任务号"},
                {"名称", "货物名称"}
            };
    }

    public class 其他直接成本_Extend : ICostExtend
    {
        public string 名称 { get; set; }
        public string 备注 { get; set; }
        public string 产品图号 { get; set; }
        public string 任务编号 { get; set; }
    }
}